import * as TYPES from '../action-types'
import _ from '../../assets/utils'

const initial = {
    info:null
}
const baseReducer = (state = initial,action)=>{
    state = _.deepClone(state)
    switch(action.type){
        case TYPES.BASE_INFO:
            state.info = action.info
            break;
        default:
    }
    return state
}
export default baseReducer